From c8700f9b1d207586b39ea36a9470ae8739a4ce12 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Fri, 13 Jul 2007 17:08:05 +0100 Subject: [PATCH] Remove hard tabs. Signed-off-by: Keir Fraser --- xen/arch/x86/mm.c | 17 +++++++++-------- xen/common/grant_table.c | 12 ++++++------ 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c index cbdfd8875a..f308dfb248 100644 --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -2701,15 +2701,15 @@ int replace_grant_host_mapping( if ( flags & GNTMAP_contains_pte ) { - if (!new_addr) - return destroy_grant_pte_mapping(addr, frame, current->domain); - - MEM_LOG("Unsupported grant table operation"); - return GNTST_general_error; + if ( !new_addr ) + return destroy_grant_pte_mapping(addr, frame, current->domain); + + MEM_LOG("Unsupported grant table operation"); + return GNTST_general_error; } - if (!new_addr) - return destroy_grant_va_mapping(addr, frame, current); + if ( !new_addr ) + return destroy_grant_va_mapping(addr, frame, current); pl1e = guest_map_l1e(current, new_addr, &gl1mfn); if ( !pl1e ) @@ -2720,7 +2720,8 @@ int replace_grant_host_mapping( } ol1e = *pl1e; - if ( unlikely(!UPDATE_ENTRY(l1, pl1e, ol1e, l1e_empty(), gl1mfn, current)) ) + if ( unlikely(!UPDATE_ENTRY(l1, pl1e, ol1e, l1e_empty(), + gl1mfn, current)) ) { MEM_LOG("Cannot delete PTE entry at %p", (unsigned long *)pl1e); guest_unmap_l1e(current, pl1e); diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index 15e72aea7c..74db8daff5 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -533,9 +533,9 @@ __gnttab_unmap_grant_ref( struct gnttab_unmap_grant_ref *op) { struct gnttab_unmap_common common = { - .host_addr = op->host_addr, - .dev_bus_addr = op->dev_bus_addr, - .handle = op->handle, + .host_addr = op->host_addr, + .dev_bus_addr = op->dev_bus_addr, + .handle = op->handle, }; __gnttab_unmap_common(&common); @@ -571,9 +571,9 @@ __gnttab_unmap_and_replace( struct gnttab_unmap_and_replace *op) { struct gnttab_unmap_common common = { - .host_addr = op->host_addr, - .new_addr = op->new_addr, - .handle = op->handle, + .host_addr = op->host_addr, + .new_addr = op->new_addr, + .handle = op->handle, }; __gnttab_unmap_common(&common); -- 2.30.2